syslog-ng: get rid of guardian process
authorPhilip Prindeville <[email protected]>
Tue, 25 Jul 2017 20:15:05 +0000 (14:15 -0600)
committerPhilip Prindeville <[email protected]>
Wed, 26 Jul 2017 17:54:06 +0000 (11:54 -0600)
Signed-off-by: Philip Prindeville <[email protected]>
admin/syslog-ng/files/syslog-ng.init

index 6036dd900ba0889c2f12053756978bf83b9ce458..545ca0091a61d8c92d07738124e8df4a7be71460 100644 (file)
@@ -12,7 +12,8 @@ config_file=/etc/syslog-ng.conf
 
 start() {
        [ -f $config_file ] || return 1
-       service_start $PROG -p $SERVICE_PID_FILE
+       service_start $PROG --process-mode background \
+               -p $SERVICE_PID_FILE
 }
 
 stop() {